package com.bwie.common.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品sku表
 * </p>
 *
 * @author liuxin
 * @since 2025-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_goods_sku")
@ApiModel(value="TGoodsSku对象", description="商品sku表")
public class GoodsSku implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品sku表id")
    @TableId(value = "goods_sku_id", type = IdType.AUTO)
    private Long goodsSkuId;

    @ApiModelProperty(value = "商品spu表id")
    private Long goodsSpuId;

    @ApiModelProperty(value = "商品sku名称")
    private String goodsSkuName;

    @ApiModelProperty(value = "所属分类id")
    private Long goodsClassifyId;

    @ApiModelProperty(value = "品牌id")
    private Long brandId;

    @ApiModelProperty(value = "商品图片")
    private String img;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "重量")
    private Double goodsWeight;

    @ApiModelProperty(value = "商品库存")
    private Integer goodsStock;

    @ApiModelProperty(value = "逻辑删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
